package org.JWCB.common.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

@Getter
@AllArgsConstructor
public enum CodeRunStatus {
    RUNNING(1,"运行中"),

    SUCCESS(2,"运行成功"),

    FAILED(3,"运行失败"),

    NOT_PASS_ALL_CASE(4,"未通过所有用例"),

    UNKNOWN_FAILED(5,"未知错误"),

    COMPILE_FAILED(6,"编译错误"),


    OUT_OF_MEMORY(7,"超出内存限制"),

    OUT_OF_TIME(8,"超出时间限制"),
    ;


    private final Integer value;

    private final String msg;
}
